package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 院校信息对象 school
 * 
 * @author ido
 * @date 2021-10-25
 */
public class School extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 专业代码 */
    @Excel(name = "专业代码")
    private String subId;

    /** 专业名称 */
    @Excel(name = "专业名称")
    private String subName;

    /** 学校代码 */
    @Excel(name = "学校代码")
    private String schoolId;

    /** 学校名称 */
    @Excel(name = "学校名称")
    private String schoolName;

    /** 计划数 */
    @Excel(name = "计划数")
    private Long planNum;

    /** 排名 */
    @Excel(name = "排名")
    private String rank;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSubId(String subId) 
    {
        this.subId = subId;
    }

    public String getSubId() 
    {
        return subId;
    }
    public void setSubName(String subName) 
    {
        this.subName = subName;
    }

    public String getSubName() 
    {
        return subName;
    }
    public void setSchoolId(String schoolId) 
    {
        this.schoolId = schoolId;
    }

    public String getSchoolId() 
    {
        return schoolId;
    }
    public void setSchoolName(String schoolName) 
    {
        this.schoolName = schoolName;
    }

    public String getSchoolName() 
    {
        return schoolName;
    }
    public void setPlanNum(Long planNum) 
    {
        this.planNum = planNum;
    }

    public Long getPlanNum() 
    {
        return planNum;
    }
    public void setRank(String rank) 
    {
        this.rank = rank;
    }

    public String getRank() 
    {
        return rank;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("subId", getSubId())
            .append("subName", getSubName())
            .append("schoolId", getSchoolId())
            .append("schoolName", getSchoolName())
            .append("planNum", getPlanNum())
            .append("rank", getRank())
            .toString();
    }
}
